Repository navigation
Pin mitlibraries/.github action to d0909d7 - #330
renovate[bot] wants to merge 1 commit into
Conversation
d2f863e to
c16a8ab
Compare
c16a8ab to
5839d01
Compare
5839d01 to
ea77106
Compare
ea77106 to
93c22f0
Compare
93c22f0 to
88e0141
Compare
88e0141 to
c4fb38e
Compare
c4fb38e to
71e6187
Compare
71e6187 to
b51e0d1
Compare
b51e0d1 to
b9fe8d9
Compare
b9fe8d9 to
c9cda70
Compare
c9cda70 to
bfff079
Compare
bfff079 to
e1039f9
Compare
e1039f9 to
240bdb6
Compare
| jobs: | ||
| shared: | ||
| uses: mitlibraries/.github/.github/workflows/ruby-shared-ci.yml@main | ||
| uses: mitlibraries/.github/.github/workflows/ruby-shared-ci.yml@d0909d78c0d3e832efb54dc9623e1c67b1bd6311 # main |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 14 hours ago
To fix this, add an explicit top-level permissions block in .github/workflows/mit-libraries-ruby-ci.yml so all jobs in this workflow (including the reusable shared job) run with least-privilege defaults unless overridden.
Best single fix here: add
permissions:contents: read
directly after the on: trigger block (before jobs:). This is the standard minimal permission for CI workflows that only need repository read access. It preserves functionality for typical test/lint/build jobs while eliminating implicit broader token access.
No imports, methods, or dependency changes are needed; this is a YAML configuration-only change in .github/workflows/mit-libraries-ruby-ci.yml.
| @@ -5,6 +5,9 @@ | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| shared: | ||
| uses: mitlibraries/.github/.github/workflows/ruby-shared-ci.yml@d0909d78c0d3e832efb54dc9623e1c67b1bd6311 # main |
This PR contains the following updates:
d0909d7Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.